<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : CadastrarRepre
    Created on : 02/10/2009, 09:24:53
    Author     : LAS
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/css/formata_conteudo.css" id="outputStyle3"/>
                <script language="JavaScript" src="./view/js/MascaraCampos.js" type="text/javascript"></script>
            </ice:outputHead>
            <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <!-- Painel Principal -->
                    <ice:panelGroup binding="#{view$CadastrarRepre.painelPrincipal}" dragListener="#{view$CadastrarRepre.painelPrincipal_processMyEvent}"
                        id="painelPrincipal" styleClass="principal">
                        <!-- Painel Cabeçalho -->
                        <ice:panelLayout id="panelLayoutCabecalho" style=" -rave-layout: grid" styleClass="cabecalho">
                            <ice:commandButton action="#{view$Util.btn_voltar_action}" id="panelLayoutLogo" image="/resources/images/logo_soligee.png"
                                immediate="true" partialSubmit="true" styleClass="logo"/>
                        </ice:panelLayout>
                        <!-- Painel Titulo -->
                        <ice:panelLayout id="panelLayoutTitulo" styleClass="titulo representante">
                            <!-- Painel Voltar -->
                            <ice:panelLayout id="painelVoltar" style="height: 54px; right:10px; top: 5px; position: absolute; width: 54px">
                                <ice:commandButton action="#{view$CadastrarRepre.btn_voltar_action}" id="btn_voltar" image="/resources/images/btn/voltar.png"
                                    immediate="true" partialSubmit="true" styleClass="btnVoltar"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Voltar -->
                        </ice:panelLayout>
                        <!-- Painel Conteúdo -->
                        <ice:panelLayout id="painelConteudo" layout="flow" styleClass="conteudo">
                            <!-- Painel Caixa de Conteúdo -->
                            <ice:panelLayout id="painelCxConteudo" styleClass="cxConteudo">
                                <ice:panelLayout id="cxConteudoTopo" styleClass="cxConteudoTopo"/>
                                <!-- Painel Abas -->
                                <ice:panelLayout id="painelAbas" styleClass="pnAbaCadastro">
                                    <!-- Painel Abas - Representante -->
                                    <ice:panelTabSet binding="#{view$CadastrarRepre.painelAbasRepresentante}" id="painelAbasRepresentante"
                                        styleClass="pnTbSetCadastro" tabPlacement="Top">
                                        <!-- Aba01 -->
                                        <ice:panelTab binding="#{view$CadastrarRepre.aba01}" id="aba01" label="Dados Pessoais">
                                            <ice:panelLayout id="conteudoAba01" layout="flow" styleClass="pnLayCadastro">
                                                <ice:panelLayout id="panelLayoutA1" layout="flow" styleClass="pnLayForm">
                                                    <!-- Código -->
                                                    <ice:outputLabel id="tx_codigo" styleClass="rotulo pq" value="Cód."/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoCodigo}" id="campoCodigo" partialSubmit="true"
                                                        readonly="true" styleClass="entradaTxt pq" title="Código do Representante."/>
                                                    <!-- Nome -->
                                                    <ice:outputLabel id="tx_nome" styleClass="rotulo gd" value="Nome (*)"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoNome}" id="campoNome"
                                                        onkeypress="mascara(this,soLetras); style.backgroundColor='white';" partialSubmit="true"
                                                        styleClass="entradaTxt gd" title="Insira o Nome Completo do Representante."/>
                                                    <!-- Data Cadastro -->
                                                    <ice:outputLabel id="tx_dataCadastro" styleClass="rotulo" value="Data Cadastro (*)"/>
                                                    <ice:selectInputDate binding="#{view$CadastrarRepre.dataCadastro}"
                                                        converter="#{view$CadastrarRepre.sqlDateConverter1}" id="dataCadastro"
                                                        inputTitle="Insira a Data da realização do Cadastro." partialSubmit="true" popupDateFormat="dd/MM/yyyy"
                                                        renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true" styleClass="entradaTxt"
                                                        title="Data do Cadastro." value="#{view$CadastrarRepre.selectInputDate1Bean.date1}" visible="true"/>
                                                </ice:panelLayout>
                                                <ice:panelLayout id="panelLayoutA2" layout="flow" styleClass="pnLayForm2">
                                                    <!-- Telefone Residencial -->
                                                    <ice:outputLabel id="tx_telefoneResidencial" styleClass="rotulo" value="Tel. Celular"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoTelefoneCelular}" id="campoTelefoneCelular"
                                                        maxlength="14" onkeypress="mascara(this,telefone);" partialSubmit="true" styleClass="entradaTxt" title="Insira o número de Celular do Representante."/>
                                                    <!-- Telefone Comercial -->
                                                    <ice:outputLabel id="tx_telefoneComercial" styleClass="rotulo" value="Tel. Comercial"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoTelefoneComercial}" id="campoTelefoneComercial"
                                                        maxlength="14" onkeypress="mascara(this,telefone);" partialSubmit="true" styleClass="entradaTxt" title="Insira o número de Telefone Comercial do Representante."/>
                                                    <!-- Email -->
                                                    <ice:outputLabel id="tx_email" styleClass="rotulo gd" value="E-mail"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoEmail}" id="campoEmail" partialSubmit="true"
                                                        styleClass="entradaTxt gd" title="Insira o E-mail de contato do Representante."/>
                                                    <!-- Página WEB -->
                                                    <ice:outputLabel id="tx_paginaWeb" styleClass="rotulo gd" title="Página do Representante." value="Página WEB"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoPaginaWeb}" id="campoPaginaWeb"
                                                        onkeypress="mascara(this,site);" partialSubmit="true" styleClass="entradaTxt gd" title="Insira o Site do Representante se houver."/>
                                                </ice:panelLayout>
                                                <!--Próximo Passo -->
                                                <ice:commandLink action="#{view$CadastrarRepre.link_proximoPassoAba01_action}"
                                                    binding="#{view$CadastrarRepre.link_proximoPassoAba01}" id="link_proximoPassoAba01" styleClass="proximoBtn"/>
                                                <!-- Imagem -->
                                                <!--Link Cancelar -->
                                                <ice:commandLink action="#{view$CadastrarRepre.linkCancelarAba01_action}"
                                                    binding="#{view$CadastrarRepre.linkCancelarAba01}" id="linkCancelarAba01" immediate="true" styleClass="cancelarBtn"/>
                                            </ice:panelLayout>
                                        </ice:panelTab>
                                        <!-- Final Aba01 -->
                                        <!-- Aba02 -->
                                        <ice:panelTab binding="#{view$CadastrarRepre.aba02}" id="aba02" label="Endereco">
                                            <ice:panelLayout id="conteudoAba02" layout="flow" styleClass="pnLayCadastro">
                                                <ice:panelLayout id="panelLayoutB1" layout="flow" styleClass="pnLayForm">
                                                    <!--Rua -->
                                                    <ice:outputLabel id="tx_rua" styleClass="rotulo" value="Rua (*)"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoRua}" id="campoRua"
                                                        onkeypress=" style.backgroundColor='white';" partialSubmit="true" styleClass="entradaTxt" title="Insira o Endereço do Representante."/>
                                                    <!--Numero -->
                                                    <ice:outputLabel id="tx_numero" styleClass="rotulo" value="Número (*)"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoNumero}" id="campoNumero"
                                                        onkeypress="mascara(this,numeroEndereco); style.backgroundColor='white';" partialSubmit="true"
                                                        styleClass="entradaTxt" title="Insira o Número referente ao endereço do Representante."/>
                                                    <!--Bairro -->
                                                    <ice:outputLabel id="tx_bairro" styleClass="rotulo" value="Bairro (*)"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoBairro}" id="campoBairro"
                                                        onkeypress=" style.backgroundColor='white';" partialSubmit="true" styleClass="entradaTxt" title="Insira o Bairro do Representante."/>
                                                    <!--Complemento -->
                                                    <ice:outputLabel id="tx_complemento" styleClass="rotulo" value="Complemento"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoComplemento}" id="campoComplemento" partialSubmit="true"
                                                        styleClass="entradaTxt" title="Insira um Complemento referente ao Endereço do Representante."/>
                                                </ice:panelLayout>
                                                <ice:panelLayout id="panelLayoutB2" layout="flow" styleClass="pnLayForm2">
                                                    <!--Estado -->
                                                    <ice:outputLabel id="tx_uf" styleClass="rotulo" value="UF (*)"/>
                                                    <ice:selectOneMenu binding="#{view$CadastrarRepre.opcaoUf}" id="opcaoUf" partialSubmit="true"
                                                        styleClass="entradaTxt" title="Selecione um Estado."
                                                        value="#{view$CadastrarRepre.botaoSelecionadoOpcaoUf.selectedObject}" valueChangeListener="#{view$CadastrarRepre.opcaoUf_processValueChange}">
                                                        <f:selectItems id="selectOneMenu1selectItems" value="#{view$CadastrarRepre.botaoOpcaoUf}"/>
                                                    </ice:selectOneMenu>
                                                    <!--Cidade -->
                                                    <ice:outputLabel id="tx_cidade" styleClass="rotulo" value="Cidade (*)"/>
                                                    <ice:selectOneMenu binding="#{view$CadastrarRepre.opcaoCidade}" id="opcaoCidade" partialSubmit="true"
                                                        styleClass="entradaTxt" title="Selecione uma Cidade." value="#{view$CadastrarRepre.botaoSelecionadoOpcaoCidade.selectedObject}">
                                                        <f:selectItems id="selectOneMenu1selectItems1" value="#{view$CadastrarRepre.botaoOpcaoCidade}"/>
                                                    </ice:selectOneMenu>
                                                    <!--CEP -->
                                                    <ice:outputLabel id="tx_cep" styleClass="rotulo" value="CEP (*)"/>
                                                    <ice:inputText binding="#{view$CadastrarRepre.campoCep}" id="campoCep" maxlength="9"
                                                        onkeypress=" style.backgroundColor='white'; mascara(this,cep);" partialSubmit="true"
                                                        styleClass="entradaTxt" title="Insira o CEP referente à cidade do Representante."/>
                                                </ice:panelLayout>
                                                <!-- Botão Cadastrar -->
                                                <ice:commandButton action="#{view$CadastrarRepre.btn_cadastrar1_action}"
                                                    binding="#{view$CadastrarRepre.btn_cadastrar1}" id="btn_cadastrar1" styleClass="gravarBtn"/>
                                                <!--voltar-->
                                                <ice:commandLink action="#{view$CadastrarRepre.commandLink1_action}" id="commandLink1" styleClass="anteriorBtn"/>
                                                <!--Link Cancelar -->
                                                <ice:commandLink action="#{view$CadastrarRepre.linkCancelarAba02_action}"
                                                    binding="#{view$CadastrarRepre.linkCancelarAba02}" id="linkCancelarAba02" immediate="true" styleClass="cancelarBtn"/>
                                            </ice:panelLayout>
                                        </ice:panelTab>
                                        <!-- Final Aba02 -->
                                    </ice:panelTabSet>
                                </ice:panelLayout>
                                <!-- Fim PainelAbas -->
                            </ice:panelLayout>
                            <!-- Aviso Loading -->
                            <ice:outputConnectionStatus id="outputConnectionStatus1" styleClass="carregando"/>
                            <!--Campos Obrigatorios -->
                            <ice:outputLabel id="camposObrigatoriosAba01" styleClass="txtPequeno" value="(*) = Campo obrigatório"/>
                            <ice:panelLayout id="cxConteudoBaixo" styleClass="cxConteudoBaixo"/>
                            <!--Fim - Painel Caixa de Conteudo -->
                            <!-- Painel Rodapé -->
                            <ice:panelLayout id="painelRodape" layout="flow" styleClass="boxRodape">
                                <ice:panelLayout id="painelRodapeEsq" styleClass="esqRodape"/>
                                <ice:panelLayout id="logoRodape" styleClass="logoRodape"/>
                                <ice:panelLayout id="painelRodapeDir" styleClass="dirRodape"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Rodapé -->
                        </ice:panelLayout>
                        <!--Fim - Painel Conteúdo -->
                    </ice:panelGroup>
                    <!--Fim - Painel Principal -->
                    <ice:panelPopup autoCentre="true" binding="#{view$CadastrarRepre.panelPopup}" draggable="true" id="panelPopup" modal="true"
                        rendered="#{view$CadastrarRepre.panelPopup1Bean1.showDraggablePanel}" styleClass="jpopup" visible="#{view$CadastrarRepre.panelPopup1Bean1.showModalPanel}">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid1" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText1" value="Atenção"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGroup id="panelPopBody" styleClass="jpopBody">
                                <ice:panelLayout id="panelPopTxt" styleClass="jpopTxt">
                                    <ice:outputText binding="#{view$CadastrarRepre.textoPopUp}" id="textoPopUp" value="body text"/>
                                </ice:panelLayout>
                                <ice:panelLayout id="panelPopBtn" styleClass="jpopBtn">
                                    <ice:commandButton action="#{view$CadastrarRepre.btnPopUp1_action}" binding="#{view$CadastrarRepre.btnPopUp1}"
                                        id="btnPopUp1" immediate="true" value="submit"/>
                                    <ice:commandButton action="#{view$CadastrarRepre.btnPopUp2_action}" binding="#{view$CadastrarRepre.btnPopUp2}"
                                        id="btnPopUp2" immediate="true" value="submit"/>
                                </ice:panelLayout>
                            </ice:panelGroup>
                        </f:facet>
                    </ice:panelPopup>
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
